#ifndef TIME_FUNC
#define TIME_FUNC

#include <string>

typedef struct
{
	int year;
	int month;
	int day;
	int hour;
	int minute;
	int second;
	int millisecond;
}DateTimeWithMilsec;

std::string Tool_GetCurrentTimeToString();

unsigned long long Tool_ConvertToTimet(int iYear, int iMonth, int iDay, int iHour, int iMin, int iSecond, int iMsecond);

long long Tool_GetTickCount();

int64_t Tool_GetTimeSecond();

void Tool_getDateTimeWithMillisecond(DateTimeWithMilsec& timeStruct);

tm Tool_TimeNowTm();

std::string Tool_getTimeString();

#endif
